<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="<?php echo X_UA_COMPATIBLE; ?>" />
<title><?php echo $this->page_title; ?></title>
<meta name="keywords" content="<?php echo $this->_meta_keywords; ?>" />
<meta property="qc:admins" content="145100576361761646654" />
<meta property="wb:webmaster" content="909ef4055b75716d" />
<meta name="baidu-site-verification" content="Xd3MzrS3P83ZWUBu" />
<meta name="alexaVerifyID" content="o1cmD5c9oqdCDbOVLgi4XK7_UhY" />
<meta name="description" content="<?php echo $this->_meta_description; ?>"  />
<base href="<?php echo get_setting('base_url');?>/<?php if (get_setting('url_rewrite_enable') != 'Y') { ?><?php echo G_INDEX_SCRIPT; ?><?php } ?>" />
<link rel="shortcut icon" href="<?php echo G_STATIC_URL; ?>/css/<?php echo $this->template_name; ?>/img/favicon.png?v=<?php echo G_VERSION_BUILD; ?>" type="image/x-icon"/>
<?php if (is_array($this->_import_css_files)) { ?>
<?php foreach ($this->_import_css_files AS $import_css) { ?>
<link href="<?php echo $import_css; ?>?v=<?php echo G_VERSION_BUILD; ?>" rel="stylesheet" type="text/css" />
<?php } ?>
<?php } ?>
<?php $post_hash_var_name = strtoupper(md5(time() . $this->userinfo['salt'])); ?>
<script type="text/javascript">
	var _<?php echo $post_hash_var_name; ?>='<?php echo new_post_hash(); ?>';
	var G_POST_HASH=_<?php echo $post_hash_var_name; ?>;
	var G_INDEX_SCRIPT = '<?php if (get_setting('url_rewrite_enable') != 'Y') { ?><?php echo G_INDEX_SCRIPT; ?><?php } ?>';
	var G_SITE_NAME = '<?php echo addcslashes(get_setting('site_name'), "'"); ?>';
	var G_BASE_URL = '<?php echo get_setting('base_url'); ?><?php if (get_setting('url_rewrite_enable') != 'Y') { ?>/<?php echo rtrim(G_INDEX_SCRIPT, '/'); ?><?php } ?>';
	var G_STATIC_URL = '<?php echo G_STATIC_URL; ?>';
	var G_UPLOAD_URL = '<?php echo get_setting('upload_url'); ?>';
	var G_USER_ID = <?php echo $this->user_id; ?>;
	var G_USER_NAME = '<?php echo addcslashes($this->user_info['user_name'], "'"); ?>';
	var G_UPLOAD_ENABLE = '<?php echo get_setting('upload_enable'); ?>';
	var G_QUICK_PUBLISH_HUMAN_VALID = '<?php if (human_valid('question_valid_hour')) { ?>1<?php } ?>';
	var G_UNREAD_NOTIFICATION = 0;
	var G_NOTIFICATION_INTERVAL = <?php echo intval(get_setting('unread_flush_interval')) * 1000; ?>;
</script>
<?php if (is_array($this->_import_js_files)) { ?>
<?php foreach ($this->_import_js_files AS $import_js) { ?>
<script src="<?php echo $import_js; ?>?v=<?php echo G_VERSION_BUILD; ?>" type="text/javascript"></script>
<?php } ?>
<?php } ?>
<!--[if IE 6]>
<script src="<?php echo G_STATIC_URL; ?>/js/isIE6.js" defer="true"></script> 
<![endif]-->
<!--[if IE 7]>
<link href="<?php echo G_STATIC_URL; ?>/css/<?php echo $this->template_name; ?>/ie7.css" rel="stylesheet" type="text/css">
<script src="<?php echo G_STATIC_URL; ?>/js/ie7.js" defer="true"></script> 
<![endif]-->
<script type="text/javascript">
	$(document).ready(function () {
		$.anwsion();
	});
</script>

</head>